﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Eneta.Portal.Forum.Core.Domain.Collections;

namespace Eneta.Portal.Forum.Core.Domain.Entities
{
    public class ForumUser : DomainObject
    {
        private readonly GroupCollection _groups = new GroupCollection();

        public string Email { get; set; }

        public GroupCollection Groups
        {
            get
            {
                return _groups;
            }
        }

        public bool IsAdmin { get; set; }
        public DateTime Joined { get; set; }
        public DateTime LastVisit { get; set; }
        public int NumPosts { get; set; }
        public string Rank { get; set; }
        public int UserId { get; set; }
    }
}
